package cn.xf;

public class Person implements Cloneable{
    public Stud stud;

    public Person(Stud stud) {
        this.stud = stud;
    }

    @Override
    public Object clone() throws CloneNotSupportedException {
        Person pp = (Person) super.clone();
        pp.stud = (Stud) stud.clone();
        return pp;
    }


    public Stud getStud() {
        return stud;
    }

    public void setStud(Stud stud) {
        this.stud = stud;
    }

}
